package com.webank.wedatasphere.qualitis.project.dao.repository;

import com.webank.wedatasphere.qualitis.project.entity.ProjectRelationShipRule;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProjectRelationShipRuleRepository extends JpaRepository<ProjectRelationShipRule,Long> {
    List<ProjectRelationShipRule> findByProjectId(Long projectId);

    void deleteByProjectIdAndRuleId(Long projectId,Long ruleId);

}
